package com.monitor.core.annotation;

import com.monitor.core.bean.MessageHanlderType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author hanhui.liu
 * @Description: controller 注解
 * @date 2018/4/23 下午2:25
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.TYPE})
public @interface ControllerMonitor {

    String name();

    MessageHanlderType handlerType() default MessageHanlderType.NULL;

    String handlerName() default "";

}
